using UnityEngine;
using System;
using System.Collections;
using System.Reflection;

public class GameMonoUtils
{
	public static IEnumerator getDelayCallBack(float delaySecend, CallBack callBack) {
		yield return new WaitForSeconds(delaySecend);
		callBack();
	}

	public static InstanceData<IEnumerator> getDelayEnumerator(float delaySecend, CallBack callBack) {
		return ()=>{return getDelayCallBack(delaySecend, callBack);};
	}
}
